package com.example.model.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.model.entity.Person;
import com.example.model.entity.PocEvent;
import com.example.model.entity.PocEventDetail;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


/**
 * SuppliesType entity
 * 2020-08-27 18:59
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "事件对象",description = "事件")
public class PocEventQuery extends Page<PocEvent> {

	private String eventId;
	private String eventName;
	private Long eventType;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private Long isValid;
	private String createBy;
	private String userTel;
	private String userName;
	private String groupName;
	private String eventDescribe;
	private String eventLongitude;
	private String eventLatitude;
	private Long eventStatus;
	private String remark;
	private List<PocEventDetail> pocEventDetailList;
	private String type; //1 已提交，处理中 。2已完成
	private String startDate;
	private String endDate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
